<template>
  <div class="Search">
    <el-input placeholder="请输入关键词" v-model="input"></el-input>
    <el-button type="primary" class="btnSearch" @click="search">搜索</el-button>
  </div>
</template>
<script>
export default {
  props: {
    inputContent: {
      input: ''
    }
  },
  data () {
    return {
      input: '',
    }
  },
  methods: {
    search () {
      this.$emit("search")
    }
  }
}
</script>
<style scoped>
div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.btnSearch {
  margin-left: 10px;
}
</style>